﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using sgsBase;
using System.Data;

namespace TestApp
{
    public partial class _Default : sgsBase.SgsPage
    {
        protected override void PageLoad(object sender, EventArgs e)
        {
            //DbInterface dbi = new DbInterface();

			//DataTable dt = dbi.Query("select * from Contacts");

			//int i = CASTHelper.Integer(dbi.QueryScalar("Select count(*) from Lookups"));
			//if (dt == null)
			//{
			//}

			//if (i == 0)
			//{
			//}

			//Email.SendError("testing", "This is a test");

			//DbAppStaticdata das = new DbAppStaticdata();

			//das.DataId = "test2";
			//das.DataValue = "test value2";
			//das.Insert();

			//das.ClearValues();
			//das.DataId = "test3";
			//das.DataValue = "test value3";
			//das.Insert();

			//das.ClearValues();
			//das.DataValue = "test value2";
			//das.Select();

			//das.Notes = "These are test notes";
			//das.Update();

        }
    }
}
